package com.hnust.dao;

import com.hnust.domain.College;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ClassAboutDao {
    @Select("select col_id,name from college")
    @ResultType(College.class)
    List<College> getAllCollege();
}
